/**
 * @file mainwindow.h
 * @author huangxb
 * @email 18228033207@163.com
 * @date 2025-04-08
 * @brief GIF视图控制器
 */
#ifndef GIFVIEWCONTROLLER_H
#define GIFVIEWCONTROLLER_H

#include <QObject>

class CGIFView;

class CGIFViewController : public QObject
{
    Q_OBJECT

private:
    CGIFView* m_pGIFView = nullptr;

public:
    explicit CGIFViewController(QObject *parent = nullptr);

    void SetView(CGIFView* pView);

    /**
     * @brief 打开gif
     * @return
     */
    void OpenGIF();

    /**
     * @brief 缩放GIF
     */
    void ScaleGIF();
signals:

};

#endif // GIFVIEWCONTROLLER_H
